import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
//引入适配
import 'lib-flexible/flexible'

Vue.config.productionTip = false

//引入重置样式
import './assets/css/index.scss'

//引入使用Vant插件
import { Button } from 'vant';
Vue.use(Button)
import { Form } from 'vant';
import { Field } from 'vant';
import { Tab, Tabs } from 'vant';
import { Rate } from 'vant';
import { Icon } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { Card } from 'vant';
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
import { Stepper } from 'vant';
import { Popup } from 'vant';

Vue.use(Popup);

Vue.use(Stepper);

Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);

Vue.use(Card)

Vue.use(Sidebar);
Vue.use(SidebarItem);

Vue.use(Icon);

Vue.use(Rate);

Vue.use(Tab);
Vue.use(Tabs);

Vue.use(Form);
Vue.use(Field);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
